//
//  demo1App.swift
//  demo1
//
//  Created by raymond on 2022/5/15.
//

import SwiftUI

@main
struct demo1App: App {
  @StateObject private var eventData = EventData()
  
  var body: some Scene {
    WindowGroup {
      //ContentView()
      NavigationView {
        EventList()
        Text("Select an Event")
          .foregroundStyle(.secondary)
      }
      .environmentObject(eventData)
    }
  }
}
